import axios from 'axios'
import {baseUrl} from '@/conf/env'

axios.defaults.timeout= 5000
axios.defaults.baseURL = baseUrl
console.log("axios load");
axios.interceptors.request.use(
  config => {
    config.headers.Authorization = `V0hSMTIzNA==`
    return config;
  },err => {
    return Promise.reject(err)
  }
)

export default axios
